<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <!-- vue中遇到变量，boolean类型，number类型,对象， 数组，null， underfined
      否需要使用绑定属性
    -->
    <div class="message" v-bind:aaa="message"></div>
    <div num = "100"></div>
    <div v-bind:num = "1000"></div>
    <div  v-bind:obj = "{ a: 1000 }"></div>
    <!-- v-bind:属性名 = "属性值"
    可以简写为  :属性名=“属性值
    -->
  </div>
</body>
<script src="lib/vue.js"></script>
<script>
  new Vue({
    el: '#app',
    data: {
      message: '1234'
    }
  })
</script>
</html>